//Component Object
// 单页展示的内容
Component({
  properties: {
    record:{
      type: Object,
      observer: function(newRecord:any){
        // console.log('newRecord:',newRecord)
        this.setData({
          curPageContentRowList:newRecord.pageList[this.data.pageIndex]
        })
      }
    },
    title:{
      type:String,
      value:'',
    },
    pageIndex:{
      type:Number,
      value:0
    },
    firstSwiperCurrentIndex:{
      type:Number,
      value:0
    },
    firstSwiperPindex:{
      type:Number,
      value:0,
    },
    showAudio:{
      type:Boolean,
      value:true,
    }
  },
  data: {
    curPageContentRowList:[]
  },
  methods: {
    stopPropagation(){
      return false
    }
  },

  attached: function(){
    // console.log('swiperSinglePageContent showAudio:',this.data.showAudio)
    // console.log('swiperSinglePageContent record:',this.data.record)
    this.setData({
      curPageContentRowList:this.data.record.pageList[this.data.pageIndex]
    })
  },
 
  detached: function(){

  },
});